package com.usian.mapper;

import com.usian.pojo.SearchItem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SearchItemMapper {
    //商品搜索
    List<SearchItem> getItemList();
    //根据id搜索商品
    SearchItem getItemById(Long itemId);
}
